package com.hellobike.haxing.modules.shop.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.hellobike.haxing.common.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableLogic;
/**
 * @Description: 提货点账单
 * @Author: haxing-boot
 * @Date:   2020-02-08
 * @Version: V1.0
 */
@Data
@TableName("t_shop_account")
public class ShopAccount implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    private java.lang.Long id ;
	/**1收入2支出*/
	@Excel(name = "1收入2支出", width = 15)
        private java.lang.Integer type ;
	/**状态1销售提成2提现打款失败-钱款退回3提现审核失败-钱款退回  6提现7退货-提成扣减*/
	@Excel(name = "状态1销售提成2提现打款失败-钱款退回3提现审核失败-钱款退回  6提现7退货-提成扣减", width = 15)
        private java.lang.Integer status ;
	/**shopId*/
	@Excel(name = "shopId", width = 15)
    private java.lang.Long shopId ;
	/**原因*/
	@Excel(name = "原因", width = 15)
        private java.lang.String reason ;
	/**金额*/
	@Excel(name = "金额", width = 15)
        private java.math.BigDecimal amount ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private java.lang.Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private java.lang.Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
      @TableLogic
      private java.lang.Integer deleted ;
	@ApiModelProperty(value = "1待审核2审核拒绝3提现成功")
	private Integer subStatus ;
	@ApiModelProperty(value = "提前申请ID")
	private Long applyId ;
}
